package test

import (
	"context"
	"gitee.com/shijun123456/rpcinterfaces/client"
	"gitee.com/shijun123456/rpcinterfaces/interface/test"
)
type TestUserinfoClient struct {
	client.Baseclient
}

func (testUserinfoClient *TestUserinfoClient) Init() *TestUserinfoClient  {
	testUserinfoClient.ServiceName = "rpc_test"
	testUserinfoClient.ServicePath = "Test"
	return testUserinfoClient
}
//调用服务端的程序处理
func (t *TestUserinfoClient) GetUserinfo(ctx context.Context,args *test.ArgsGetUserinfo,replies *test.RelpiesGetUserinfo)(error)  {
	return t.Call(ctx,"GetUserinfo",args,replies)
}
//调用服务端的程序处理
func (t *TestUserinfoClient) GetUserinfoById(ctx context.Context,args *test.ArgsGetUserinfo,replies *test.RelpiesGetUserinfo)(error)  {
	return t.Call(ctx,"GetUserinfo",args,replies)
}
//调用服务端的程序处理
func (t *TestUserinfoClient) GetUserinfoByName(ctx context.Context,args *test.ArgsGetUserinfo,replies *test.RelpiesGetUserinfo)(error)  {
	return t.Call(ctx,"GetUserinfo",args,replies)
}